<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>计划管理-白坯管理序时表</title>
    <link rel="stylesheet" type="text/css" href="jquery-easyui-1.6.7/themes/bootstrap/easyui.css"/>
    <link rel="stylesheet" href="jquery-easyui-1.6.7/themes/icon.css"/>
    <link rel="stylesheet" href="css/icon.css"/>
    <link rel="stylesheet" href="jquery-easyui-1.6.7/themes/icon.css"/>
    <link rel="stylesheet" href="css/order_report.css"/>
    <link rel="stylesheet" href="css/icon_state.css"/>
    <link rel="stylesheet" href="jquery-easyui-1.6.7/themes/icon_expand.css"/>
    <script type="text/javascript" src="jQuery/jquery-3.1.1.min.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.6.7/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.6.7/datagrid-filter/datagrid-filter.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.6.7/jquery-easyui-edatagrid/jquery.edatagrid.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.6.7/jquery.easyui.expand.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.6.7/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="js/pages/jc/button_generate.js"></script>
    <script type="text/javascript" src="js/util/utils.js?version=1.1"></script>
    <script type="text/javascript" src="js/util/loadEventUtil.js"></script>
    <script type="text/javascript" src="js/util/memoryColumnUtil.js"></script>
    <!-- kendo -->
    <link rel="stylesheet" href="KendoUI/styles/kendo.common.min.css"/>
    <link rel="stylesheet" href="KendoUI/styles/kendo.default.min.css"/>
    <link rel="stylesheet" href="KendoUI/styles/kendo.rtl.min.css"/>
    <script type="text/javascript" src="KendoUI/js/jszip.min.js"></script>
    <script type="text/javascript" src="KendoUI/js/kendo.all.min.js"></script>
    <script type="text/javascript" src="KendoUI/js/messages/kendo.messages.zh-CN.min.js"></script>
    <script type="text/javascript" src="js/util/kendo.config.js"></script>
    <script type="text/javascript" src="js/util/datetimeUtils.js"></script>

    <!--全局样式，设置字体格式变大    -->
    <link rel="stylesheet" href="css/global.css"/>
    <style>
        .input-group {
            padding-top: 5px;
            padding-bottom: 5px;
        }
        .option-item {
            display: flex;
            align-items: center;
            padding: 8px 10px;
            cursor: pointer;
            border-radius: 4px;
            transition: background 0.2s;
        }
        .plan_main {position: absolute;top:1px;bottom:1px;right:1px;left: 1px; background: #FEFCFB; /*  border: 0px solid red;*/}
        /*.plan_top {height: 35px;width: 100%;float: left;background: #F6F2F1;border: 1px solid #F6F2F1 ;}*/
        .plan_top {height: 35px;width: 100%;float: left;background: #F6F2F1;border: 1px solid red ;}
        .plan_text {height: calc(100% - 40px);width: 100%;float: left;background: #FFFCFB;border: 1px solid #DBCFC3 ;}
        .demos {
            height: 30px;
            width: 200px;
            float: left;
        }
        .demos label{
            font-size: 14px;
            text-align:right;
        }
        .plandate {
            height: 60px;
            width: 200px;
            float: left;
        }
    </style>
</head>
<body th:data-menu_id="${MENU_ID}">
<div class="easyui-layout" data-options="fit:true">
    <div data-options="region:'north',height:80">
        <div class="datebox-group">
            <ul style="width: 100%;height: 100%;margin: 0;">
                <li style="height: 32px;">
                    <div class="btn-group pull-left">
                        <input id="start" class="easyui-datebox"
                               data-options="label:'起始日期：',labelWidth:85,width:210,value:getDateNew(-30)">
                    </div>
                    <div class="btn-group pull-left">
                        <input id="end" class="easyui-datebox"
                               data-options="label:'终止日期：',labelWidth:85,width:210,value:getDateNew(0)">
                    </div>

                    <div id="search_area" class="btn-group pull-left">
                        <a id="btn_search" class="easyui-linkbutton" data-options="
                            text: '查询',
                            size: 'small',
                            group: `g1`,
                            iconCls: 'icon-search',
                            onClick: btn_search,
                            plain: true"></a>
<!--                        <input id="btn_finishedOrAll" class="easyui-switchbutton" data-options="width:70,onText:'全部',offText:'未完成',onChange: finishedOrAll">-->
                    </div>

<!--                    <div class="pull-right">-->
<!--                        <div style="height: 50%;">-->
<!--                            <span style="padding: 1px;width: 12px;height:12px;display: inline-block; background-color: blue;"> </span>-->
<!--                            <span>已完成</span>-->
<!--                        </div>-->
<!--                    </div>-->
                </li>
                <li>
                    <div id="north" class=" pull-left"></div>
                </li>
            </ul>
        </div>
    </div>
    <div data-options="region:'center'">
        <table id="v_grid"></table>
    </div>
</div>
<!--入库单据-->
<div id="store_log" class="easyui-dialog" title="白坯单据" style="width:1000px;height:700px;padding:10px"
     data-options="
            iconCls:'icon-save',
            modal:true,
            closable:false,
            closed:true">
    <div class="easyui-layout" data-options="fit:true">
        <form id="form" style="width:100%;height: 100%;">
            <div data-options="region:'north',height:'auto',split:false" style="height:42px;">
                <div id="addBill" class="btn-group pull-left" style="float:left;">
                    <a id="btn_addBill" class="easyui-linkbutton" data-options="
                          text: '新增单据',
                          size: 'small',
                          group: `g1`,
                          iconCls: 'icon-add',
                          onClick: btn_addBill,
                          plain: true"></a>
                </div>
                <div id="saveData" class="btn-group pull-left" style="float:left;">
                    <a id="btn_saveData" class="easyui-linkbutton" data-options="
                          text: '保存',
                          size: 'small',
                          group: `g1`,
                          iconCls: 'icon-save',
                          onClick: btn_saveData,
                          plain: true"></a>
                </div>
                <div id="updateData" class="btn-group pull-left" style="float:left;">
                    <a id="btn_updateData" class="easyui-linkbutton" data-options="
                          text: '修改',
                          size: 'small',
                          group: `g1`,
                          iconCls: 'icon-save',
                          onClick: btn_updateData,
                          plain: true"></a>
                </div>
                <div id="deleteBill" class="btn-group pull-left" style="float:left;">
                    <a id="btn_deleteBill" class="easyui-linkbutton" data-options="
                          text: '删除单据',
                          size: 'small',
                          group: `g1`,
                          iconCls: 'icon-no',
                          onClick: btn_deleteBill,
                          plain: true"></a>
                </div>
                <div id="copyBill" class="btn-group pull-left" style="float:left;">
                    <a id="btn_copyBill" class="easyui-linkbutton" data-options="
                          text: '复制单据',
                          size: 'small',
                          group: `g1`,
                          iconCls: 'icon-edit',
                          onClick: btn_copyBill,
                          plain: true"></a>
                </div>
                <div id="addRow" class="btn-group pull-left" style="float:left;">
                    <a id="btn_addRow" class="easyui-linkbutton" data-options="
                          text: '新增行',
                          size: 'small',
                          group: `g1`,
                          iconCls: 'icon-add',
                          onClick: btn_addRow,
                          plain: true"></a>
                </div>
                <div id="copyRow" class="btn-group pull-left" style="float:left;">
                    <a id="btn_copyRow" class="easyui-linkbutton" data-options="
                          text: '复制行',
                          size: 'small',
                          group: `g1`,
                          iconCls: 'icon-edit',
                          onClick: btn_copyRow,
                          plain: true"></a>
                </div>
                <div id="delectRow" class="btn-group pull-left" style="float:left;">
                    <a id="btn_delectRow" class="easyui-linkbutton" data-options="
                          text: '删除行',
                          size: 'small',
                          group: `g1`,
                          iconCls: 'icon-clear',
                          onClick: btn_delectRow,
                          plain: true"></a>
                </div>
<!--                <div id="billOk" class="btn-group pull-left" style="float:left;">-->
<!--                    <a id="btn_billOk" class="easyui-linkbutton" data-options="-->
<!--                          text: '导入',-->
<!--                          size: 'small',-->
<!--                          group: `g1`,-->
<!--                          iconCls: 'icon-ok',-->
<!--                          onClick: btn_selectData,-->
<!--                          plain: true"></a>-->
<!--                </div>-->
<!--                <div id="billNo" class="btn-group pull-left" style="float:left;">-->
<!--                    <a id="btn_billNo" class="easyui-linkbutton" data-options="-->
<!--                          text: '取消完成',-->
<!--                          size: 'small',-->
<!--                          group: `g1`,-->
<!--                          iconCls: 'icon-undo',-->
<!--                          onClick: btn_billNo,-->
<!--                          plain: true"></a>-->
<!--                </div>-->
                <div id="close_log" class="btn-group pull-left" style="float:left;">
                    <a id="btn_close_log" class="easyui-linkbutton" data-options="
                          text: '退出',
                          size: 'small',
                          group: `g1`,
                          iconCls: 'icon-cancel',
                          onClick: btn_close_log,
                          plain: true"></a>
                </div>
<!--                <div id="btn_group" class="btn-group pull-left" style="float:left;">-->
<!--                    <div id="img_state" class="pull-right hidden" style="width:96px;height: 32px;margin-top: 1px;float:left;"></div>-->
<!--                    <div id="img_state_01" class="pull-right hidden" style="width:96px;height: 32px;margin-top: 1px;float:left;"></div>-->
<!--                </div>-->
            </div>

            <div data-options="region:'center',split:true" style="height:658px;">
                <div class="easyui-layout" data-options="fit:true">
                    <div data-options="region:'north',height:'auto',split:false" style="height:130px;">
                        <div class="hidden">
                            <input id="id" name="id" class="easyui-textbox">
                        </div>

                        <div class="pull-left input-group" style="width: 950px;height: 40px;padding-left: 20px;padding-top: 1px;border: 0px solid red">
                            <div class="pull-left input-group">
                                <input id="billCode" name="settlement" class="easyui-textbox" data-options="
                                label:'单据编号:',
                                width:225,
                                labelWidth:80,
                                readonly: true,
                                labelAlign:'right'">
                            </div>
                            <div class="pull-left input-group">
                                <input id="billDate" name="billDate" class="easyui-datebox" data-options="
                                label:'订单日期:',
                                width:200,
                                labelWidth:80,
                                value:getCurrentDate(),
                                editable: false,
                                labelAlign:'right'">
                            </div>

                            <div id="btn_group" style="float: right;">
                                <div id="img_state" class="pull-right hidden" style="width:96px;height: 32px;margin-top: 1px;float:left;"></div>
                                <div id="img_state_01" class="pull-right hidden" style="width:96px;height: 32px;margin-top: 1px;float:left;"></div>
                            </div>
                        </div>
<!--                        <div class="pull-left input-group">-->
<!--                            <input id="orderNo" name="orderNo" class="easyui-combobox" >-->
<!--                                   data-options="-->
<!--                                label:'订单号：',-->
<!--                               labelAlign:'right',-->
<!--                               url:'orderMain/listQuery',-->
<!--                               method:'GET',-->
<!--                               textField:'orderNo',-->
<!--                               valueField:'orderNo',-->
<!--                               limitToList:true,-->
<!--                               panelHeight:300,-->
<!--							   onShowPanel:function(){-->
<!--                                    $(this).combobox('reload','orderMain/listQuery');-->
<!--                               },-->
<!--                               required:true">-->
<!--                        </div>-->
                        <div class="pull-left input-group">
                            <input id="billType" name="billType" class="easyui-combobox" data-options="
                                label:'单据类型:',
                               labelAlign:'right',
                               url:'billType/listQuery',
                               method:'GET',
                               textField:'billTypeName',
                               valueField:'billTypeName',
                               limitToList:true,
                               panelHeight:300,
                               width:225,
                               labelWidth:80,
                               required:true,
                               panelHeight: 'auto',
							   onShowPanel:function(){
                                    $(this).combobox('reload','billType/listQuery');
                               },
                               loadFilter: billType_loadFilter">
                        </div>
                        <div class="pull-left input-group">
                            <input id="businessSource" name="businessSource" class="easyui-combobox"
                                   data-options="
                                label:'发出单位:',
                               labelAlign:'right',
                               url:'jcSupplier/listQuery',
                               method:'GET',
                               textField:'ctName',
                               valueField:'ctName',
                               limitToList:true,
                               panelHeight:300,
                               width:250,
                               labelWidth:80,
							   onShowPanel:function(){
                                    $(this).combobox('reload','jcSupplier/listQuery');
                               },
                               required:true">
                        </div>
                        <div class="pull-left input-group">
                            <input id="businessTarget" name="businessTarget" class="easyui-textbox"
                                   data-options="
                                label:'接收单位:',
                               labelAlign:'right',
                               value: '本厂',
                               readonly: true,
                               labelWidth:80,
                               width:250">
                        </div>
                        <div class="pull-left input-group">
                            <input id="craftRemark" name="craftRemark" class="easyui-textbox" data-options="
                                label:'加工工艺:',
                                width:200,
                                labelWidth:80,
                                editable:true,
                                labelAlign:'right'">
                        </div>
                        <div class="pull-left input-group">
                            <input id="remark" name="remark" class="easyui-textbox" data-options="
                                label:'备注：',
                                width:730,
                                labelWidth:80,
                                editable:true,
                                labelAlign:'right'">
                        </div>
                    </div>

                    <div data-options="region:'center',split:true" style="height:515px;">
                        <table id="grey_detail_grid"></table>
                    </div>

                    <div data-options="region:'south',split:true" style="height:48px;">
                        <div class="pull-left input-group">
                            <input id="driver" name="remark" class="easyui-textbox" data-options="
                                label:'驾驶员:',
                                width:150,
                                labelWidth:65,
                                editable:true,
                                labelAlign:'right'">
                        </div>
                        <div class="pull-left input-group">
                            <input id="plateNo" name="remark" class="easyui-textbox" data-options="
                                label:'车牌号:',
                                width:150,
                                labelWidth:65,
                                editable:true,
                                labelAlign:'right'">
                        </div>
                        <div class="pull-left input-group">
                            <input id="settlQty" name="remark" class="easyui-textbox" data-options="
                                label:'结算数量:',
                                width:150,
                                labelWidth:80,
                                editable:true,
                                labelAlign:'right'">
                        </div>
                        <div class="pull-left input-group">
                            <input id="shipFee" name="remark" class="easyui-textbox" data-options="
                                label:'运费:',
                                width:150,
                                labelWidth:60,
                                editable:true,
                                labelAlign:'right'">
                        </div>
                        <div class="pull-left input-group">
                            <input id="shipPay" name="remark" class="easyui-combobox" data-options="
                                label:'付费方:',
                               labelAlign:'right',
                               textField:'name',
                               valueField:'name',
                               limitToList:true,
                               width:180,
                               labelWidth:75,
                               panelHeight:300,
                               required:false,
                               panelHeight: 'auto',
                               data:[{
                                    sId:1,
                                    name:'对方付'
                               },{
                                    sId:0,
                                    name:'本厂付'
                                }
                        ]">
                        </div>
                        <div class="pull-left input-group">
                            <input id="shipType" name="shipType" class="easyui-combobox"
                                   data-options="label:'付费方式:',
                               labelAlign:'right',
                               textField:'name',
                               valueField:'name',
                               limitToList:true,
                               width:150,
                               labelWidth:80,
                               panelHeight:300,
                               panelHeight: 'auto',
                               required:false,
                               data:[{
                                    sId:1,
                                    name:'现结'
                               },{
                                    sId:0,
                                    name:'欠账'
                                }
                        ]">
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>
<!--订单工艺选择模态窗-->
<div id="techModal" class="easyui-dialog" title="选择工艺" style="width:200px;height:400px;padding:10px"
     data-options="
        closed:true,
        modal:true,
        buttons:[{
            text:'确认',
            handler:confirmTechSelection
        },{
            text:'取消',
            handler:function(){$('#techModal').dialog('close');}
        }]">
    <div style="margin:20px; font-size: 16px;">
        <label class="option-item"><input type="checkbox" name="techOption" value="坯布" style="transform:scale(1.3); margin-right:8px;"> 坯布</label><br>
        <!--        <label class="option-item"><input type="checkbox" name="techOption" value="前处理" style="transform:scale(1.3); margin-right:8px;"> 前处理</label><br>-->
        <label class="option-item"><input type="checkbox" name="techOption" value="染色" style="transform:scale(1.3); margin-right:8px;"> 染色</label><br>
        <label class="option-item"><input type="checkbox" name="techOption" value="深加工1" style="transform:scale(1.3); margin-right:8px;"> 深加工1</label><br>
        <label class="option-item"><input type="checkbox" name="techOption" value="深加工2" style="transform:scale(1.3); margin-right:8px;"> 深加工2</label><br>
        <!--        <label class="option-item"><input type="checkbox" name="techOption" value="后处理" style="transform:scale(1.3); margin-right:8px;"> 后处理</label><br>-->
        <label class="option-item"><input type="checkbox" name="techOption" value="成品" style="transform:scale(1.3); margin-right:8px;"> 成品</label>
    </div>
</div>

<!--出库单据-->
<div id="outbound_log" class="easyui-dialog" title="白坯单据" style="width:1000px;height:700px;padding:10px"
     data-options="
            iconCls:'icon-save',
            modal:true,
            closable:false,
            closed:true">
    <div class="easyui-layout" data-options="fit:true">
        <form id="outbound_form" style="width:100%;height: 100%;">
            <div data-options="region:'north',height:'auto',split:false" style="height:42px;">
                <div id="outbound_addBill" class="btn-group pull-left" style="float:left;">
                    <a id="outbound_btn_addBill" class="easyui-linkbutton" data-options="
                          text: '新增单据',
                          size: 'small',
                          group: `g1`,
                          iconCls: 'icon-add',
                          onClick: outbound_btn_addBill,
                          plain: true"></a>
                </div>
                <div id="outbound_saveData" class="btn-group pull-left" style="float:left;">
                    <a id="outbound_btn_saveData" class="easyui-linkbutton" data-options="
                          text: '保存',
                          size: 'small',
                          group: `g1`,
                          iconCls: 'icon-save',
                          onClick: outbound_btn_saveData,
                          plain: true"></a>
                </div>
                <div id="outbound_updateData" class="btn-group pull-left" style="float:left;">
                    <a id="outbound_btn_updateData" class="easyui-linkbutton" data-options="
                          text: '修改',
                          size: 'small',
                          group: `g1`,
                          iconCls: 'icon-save',
                          onClick: outbound_btn_updateData,
                          plain: true"></a>
                </div>
                <div id="outbound_deleteBill" class="btn-group pull-left" style="float:left;">
                    <a id="outbound_btn_deleteBill" class="easyui-linkbutton" data-options="
                          text: '删除单据',
                          size: 'small',
                          group: `g1`,
                          iconCls: 'icon-no',
                          onClick: outbound_btn_deleteBill,
                          plain: true"></a>
                </div>
<!--                <div id="outbound_copyBill" class="btn-group pull-left" style="float:left;">-->
<!--                    <a id="outbound_btn_copyBill" class="easyui-linkbutton" data-options="-->
<!--                          text: '复制单据',-->
<!--                          size: 'small',-->
<!--                          group: `g1`,-->
<!--                          iconCls: 'icon-edit',-->
<!--                          onClick: outbound_btn_copyBill,-->
<!--                          plain: true"></a>-->
<!--                </div>-->
<!--                <div id="outbound_addRow" class="btn-group pull-left" style="float:left;">-->
<!--                    <a id="outbound_btn_addRow" class="easyui-linkbutton" data-options="-->
<!--                          text: '新增行',-->
<!--                          size: 'small',-->
<!--                          group: `g1`,-->
<!--                          iconCls: 'icon-add',-->
<!--                          onClick: outbound_btn_addRow,-->
<!--                          plain: true"></a>-->
<!--                </div>-->
<!--                <div id="outbound_copyRow" class="btn-group pull-left" style="float:left;">-->
<!--                    <a id="outbound_btn_copyRow" class="easyui-linkbutton" data-options="-->
<!--                          text: '复制行',-->
<!--                          size: 'small',-->
<!--                          group: `g1`,-->
<!--                          iconCls: 'icon-edit',-->
<!--                          onClick: outbound_btn_copyRow,-->
<!--                          plain: true"></a>-->
<!--                </div>-->
                <div id="outbound_delectRow" class="btn-group pull-left" style="float:left;">
                    <a id="outbound_btn_delectRow" class="easyui-linkbutton" data-options="
                          text: '删除行',
                          size: 'small',
                          group: `g1`,
                          iconCls: 'icon-clear',
                          onClick: outbound_btn_delectRow,
                          plain: true"></a>
                </div>
                <div id="billOk" class="btn-group pull-left" style="float:left;">
                    <a id="btn_billOk" class="easyui-linkbutton" data-options="
                          text: '导入',
                          size: 'small',
                          group: `g1`,
                          iconCls: 'icon-ok',
                          onClick: btn_selectData,
                          plain: true"></a>
                </div>
                <!--                <div id="billNo" class="btn-group pull-left" style="float:left;">-->
                <!--                    <a id="btn_billNo" class="easyui-linkbutton" data-options="-->
                <!--                          text: '取消完成',-->
                <!--                          size: 'small',-->
                <!--                          group: `g1`,-->
                <!--                          iconCls: 'icon-undo',-->
                <!--                          onClick: btn_billNo,-->
                <!--                          plain: true"></a>-->
                <!--                </div>-->
                <div id="outbound_close_log" class="btn-group pull-left" style="float:left;">
                    <a id="outbound_btn_close_log" class="easyui-linkbutton" data-options="
                          text: '退出',
                          size: 'small',
                          group: `g1`,
                          iconCls: 'icon-cancel',
                          onClick: btn_close_log,
                          plain: true"></a>
                </div>
                <!--                <div id="btn_group" class="btn-group pull-left" style="float:left;">-->
                <!--                    <div id="img_state" class="pull-right hidden" style="width:96px;height: 32px;margin-top: 1px;float:left;"></div>-->
                <!--                    <div id="img_state_01" class="pull-right hidden" style="width:96px;height: 32px;margin-top: 1px;float:left;"></div>-->
                <!--                </div>-->
            </div>

            <div data-options="region:'center',split:true" style="height:658px;">
                <div class="easyui-layout" data-options="fit:true">
                    <div data-options="region:'north',height:'auto',split:false" style="height:130px;">
                        <div class="hidden">
                            <input id="outbound_id" name="id" class="easyui-textbox">
                        </div>
                        <div class="pull-left input-group">
                            <input id="outbound_billCode" name="settlement" class="easyui-textbox" data-options="
                                label:'单据编号:',
                                width:200,
                                labelWidth:80,
                                readonly: true,
                                labelAlign:'right'">
                        </div>
                        <div class="pull-left input-group">
                            <input id="outbound_billDate" name="billDate" class="easyui-datebox" data-options="
                                label:'订单日期:',
                                width:200,
                                labelWidth:80,
                                value:getCurrentDate(),
                                editable: false,
                                labelAlign:'right'">
                        </div>
                        <div class="pull-left input-group" style="width: 550px;height: 40px;padding-left: 20px;padding-top: 1px;border: 0px solid red">
                            <div id="outbound_btn_group" style="float: right;">
                                <div id="outbound_img_state" class="pull-right hidden" style="width:96px;height: 32px;margin-top: 1px;float:left;"></div>
                                <div id="outbound_img_state_01" class="pull-right hidden" style="width:96px;height: 32px;margin-top: 1px;float:left;"></div>
                            </div>
                        </div>
                        <div class="pull-left input-group">
                            <input id="orderNo" name="orderNo" class="easyui-combobox" >
                        </div>
                        <div class="pull-left input-group">
                            <input id="outbound_billType" name="billType" class="easyui-combobox" data-options="
                                label:'单据类型:',
                               labelAlign:'right',
                               url:'billType/listQuery',
                               method:'GET',
                               textField:'billTypeName',
                               valueField:'billTypeName',
                               limitToList:true,
                               panelHeight:300,
                               width:225,
                               labelWidth:80,
                               required:true,
							   onShowPanel:function(){
                                    $(this).combobox('reload','billType/listQuery');
                               },
                               loadFilter: outbound_billType_loadFilter">
                        </div>
                        <div class="pull-left input-group">
                            <input id="outbound_businessSource" name="businessSource" class="easyui-textbox"
                                   data-options="
                                label:'发出单位:',
                               labelAlign:'right',
                               value: '本厂',
                               readonly: true,
                               labelWidth:80,
                               width:250">
                        </div>
                        <div class="pull-left input-group">
                            <input id="outbound_businessTarget" name="businessTarget" class="easyui-combobox"
                                   data-options="
                                label:'接收单位:',
                               labelAlign:'right',
                               url:'jcDyeingFactory/listQuery',
                               method:'GET',
                               textField:'ctName',
                               valueField:'ctName',
                               limitToList:true,
                               panelHeight:300,
                               labelWidth:80,
                               width:250,
							   onShowPanel:function(){
                                    $(this).combobox('reload','jcDyeingFactory/listQuery');
                               }">
                        </div>
                        <div class="pull-left input-group">
                            <input id="outbound_craftRemark" name="craftRemark" class="easyui-textbox" data-options="
                                label:'加工工艺:',
                                labelWidth:80,
                                width:200,
                                editable:true,
                                labelAlign:'right'">
                        </div>
                        <div class="pull-left input-group">
                            <input id="outbound_remark" name="remark" class="easyui-textbox" data-options="
                                label:'备注:',
                                width:730,
                                labelWidth:80,
                                editable:true,
                                labelAlign:'right'">
                        </div>
                    </div>

                    <div data-options="region:'center',split:true" style="height:515px;">
                        <table id="outbound_grey_detail_grid"></table>
                    </div>

                    <div data-options="region:'south',split:true" style="height:48px;">
                        <div class="pull-left input-group">
                            <input id="outbound_driver" name="remark" class="easyui-textbox" data-options="
                                label:'驾驶员:',
                                width:150,
                                labelWidth:70,
                                editable:true,
                                labelAlign:'right'">
                        </div>
                        <div class="pull-left input-group">
                            <input id="outbound_plateNo" name="remark" class="easyui-textbox" data-options="
                                label:'车牌号:',
                                width:150,
                                labelWidth:70,
                                editable:true,
                                labelAlign:'right'">
                        </div>
                        <div class="pull-left input-group">
                            <input id="outbound_settlQty" name="remark" class="easyui-textbox" data-options="
                                label:'结算数量:',
                                width:150,
                                labelWidth:80,
                                editable:true,
                                labelAlign:'right'">
                        </div>
                        <div class="pull-left input-group">
                            <input id="outbound_shipFee" name="remark" class="easyui-textbox" data-options="
                                label:'运费:',
                                width:150,
                                labelWidth:60,
                                editable:true,
                                labelAlign:'right'">
                        </div>
                        <div class="pull-left input-group">
                            <input id="outbound_shipPay" name="remark" class="easyui-combobox" data-options="
                                label:'付费方:',
                               labelAlign:'right',
                               textField:'name',
                               valueField:'name',
                               limitToList:true,
                               width:180,
                               labelWidth:70,
                               panelHeight:300,
                               required:false,
                               panelHeight: 'auto',
                               data:[{
                                    sId:1,
                                    name:'对方付'
                               },{
                                    sId:0,
                                    name:'本厂付'
                                }
                        ]">
                        </div>
                        <div class="pull-left input-group">
                            <input id="outbound_shipType" name="shipType" class="easyui-combobox"
                                   data-options="label:'付费方式:',
                               labelAlign:'right',
                               textField:'name',
                               valueField:'name',
                               limitToList:true,
                               width:150,
                               labelWidth:80,
                               panelHeight:300,
                               panelHeight: 'auto',
                               required:false,
                               data:[{
                                    sId:1,
                                    name:'现结'
                               },{
                                    sId:0,
                                    name:'欠账'
                                }
                        ]">
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>

<div id="inventory_log" class="easyui-dialog" title="白坯库存" style="width:1000px;height:700px;padding:10px"
     data-options="
            iconCls:'icon-save',
            modal:true,
            closable:false,
            closed:true,
            buttons:[{
                text:'确定',
                handler:function(){
                    getRowsData();
                    $('#inventory_log').dialog('close');
                }
            },{
                text:'取消',
                handler:function(){$('#inventory_log').dialog('close');}
            }]">
    <table id="inventory_grey_detail_grid"></table>
</div>

<!--坯布退回-->
<div id="BPreturn" class="easyui-dialog" title="白坯退货" style="width:1000px;height:700px;padding:10px"
     data-options="iconCls:'icon-save', modal:true,closable:false,closed:true">

    <div class="easyui-layout" data-options="fit:true">
        <form id="BPreturnform" style="width:100%;height: 100%;">
            <div data-options="region:'north',height:'auto',split:false" style="height:42px;">

                <div id="saveData_return" class="btn-group pull-left" style="float:left;">
                    <a id="btn_saveData_return" class="easyui-linkbutton" data-options="
                          text: '保存',
                          size: 'small',
                          group: `g1`,
                          iconCls: 'icon-save',
                          onClick: btn_saveData_return,
                          plain: true"></a>
                </div>
                <div id="updateData_return" class="btn-group pull-left" style="float:left;">
                    <a id="btn_updateData_return" class="easyui-linkbutton" data-options="
                          text: '修改',
                          size: 'small',
                          group: `g1`,
                          iconCls: 'icon-save',
                          onClick: btn_updateData_return,
                          plain: true"></a>
                </div>
                <div id="deleteBill_return" class="btn-group pull-left" style="float:left;">
                    <a id="btn_deleteBill_return" class="easyui-linkbutton" data-options="
                          text: '删除单据',
                          size: 'small',
                          group: `g1`,
                          iconCls: 'icon-no',
                          onClick: btn_deleteBill_return,
                          plain: true"></a>
                </div>
                <div id="delectRow_return" class="btn-group pull-left" style="float:left;">
                    <a id="btn_delectRow_return" class="easyui-linkbutton" data-options="
                          text: '删除行',
                          size: 'small',
                          group: `g1`,
                          iconCls: 'icon-clear',
                          onClick: btn_delectRow_return,
                          plain: true"></a>
                </div>
                <div id="close_log_return" class="btn-group pull-left" style="float:left;">
                    <a id="btn_close_log_return" class="easyui-linkbutton" data-options="
                          text: '退出',
                          size: 'small',
                          group: `g1`,
                          iconCls: 'icon-cancel',
                          onClick: btn_close_log_return,
                          plain: true"></a>
                </div>
                <div id="btn_group_return" class="btn-group pull-left" style="float:left;padding-left: 100px">

                    <div id="img_state_return" class="pull-right hidden" style="width:96px;height: 32px;margin-top: 1px;float:left;"></div>
<!--                    <div id="img_state_01" class="pull-right hidden" style="width:96px;height: 32px;margin-top: 1px;float:left;"></div>-->

                </div>
            </div>

            <div data-options="region:'center',split:true" style="height:658px;">
                <div class="easyui-layout" data-options="fit:true">
                    <div data-options="region:'north',height:'auto',split:false" style="height:130px;">
                        <div class="hidden">
                            <input id="return_id" name="id" class="easyui-textbox">
                        </div>
                        <div class="pull-left input-group">
                            <input name="billCode" class="easyui-textbox" data-options="
                                label:'单据编号:',
                                width:200,
                                labelWidth:80,
                                readonly: true,
                                labelAlign:'right'">
                        </div>
                        <div class="pull-left input-group">
                            <input name="billDate" class="easyui-datebox" data-options="
                                label:'订单日期:',
                                width:200,
                                labelWidth:80,
                                value:getCurrentDate(),
                                editable: false,
                                labelAlign:'right'">
                        </div>
                        <div class="pull-left input-group" style="width: 550px;height: 40px;padding-left: 20px;padding-top: 1px;border: 0px solid red">
<!--                            <div id="btn_group_return" style="float: right;">-->
<!--                                <div id="img_state_return" class="pull-right hidden" style="width:96px;height: 32px;margin-top: 1px;float:left;"></div>-->
<!--&lt;!&ndash;                                <div id="img_state_01" class="pull-right hidden" style="width:96px;height: 32px;margin-top: 1px;float:left;"></div>&ndash;&gt;-->
<!--                            </div>-->
                        </div>
                        <div class="pull-left input-group">
                            <input name="orderNo" class="easyui-textbox" data-options="
                                label:'订单号:',
                                width:200,
                                labelWidth:80,
                                readonly: true,
                                labelAlign:'right'">
                        </div>
                        <div class="pull-left input-group">
                            <input id="billType_return" name="billType" class="easyui-textbox" data-options="
                                label:'单据类型:',
                                width:200,

                                readonly: false,
                                labelAlign:'right'">
                        </div>
                        <div class="pull-left input-group">
                            <input name="businessSource" class="easyui-combobox"
                                   data-options="
                                label:'发出单位:',
                               labelAlign:'right',
                               url:'jcDyeingFactory/listQuery',

                               method:'GET',
                               textField:'ctName',
                               valueField:'ctName',
                               limitToList:true,
                               panelHeight:300,
                               width:250,
                               labelWidth:80,
							   onShowPanel:function(){
                                    $(this).combobox('reload','jcDyeingFactory/listQuery');
                               },
                               required:true">
                        </div>
                        <div class="pull-left input-group">
                            <input name="businessTarget" class="easyui-combobox"
                                   data-options="
                                label:'接收单位:',
                               labelAlign:'right',
                               url:'jcSupplier/listQuery',
                               method:'GET',
                               textField:'ctName',
                               valueField:'ctName',
                               limitToList:true,
                               panelHeight:300,
                               width:250,
                               labelWidth:80,
							   onShowPanel:function(){
                                    $(this).combobox('reload','jcSupplier/listQuery');
                               },
                               required:true">
                        </div>
                        <div class="pull-left input-group">
                            <input name="remark" class="easyui-textbox" data-options="
                                label:'备注：',
                                width:730,
                                labelWidth:80,
                                editable:true,
                                labelAlign:'right'">
                        </div>
                    </div>

                    <div data-options="region:'center',split:true" style="height:515px;">
                        <table id="grey_detail_grid_return"></table>
                    </div>

                    <div data-options="region:'south',split:true" style="height:48px;">
                        <div class="pull-left input-group">
                            <input name="driver" class="easyui-textbox" data-options="
                                label:'驾驶员:',
                                width:150,
                                labelWidth:70,
                                editable:true,
                                labelAlign:'right'">
                        </div>
                        <div class="pull-left input-group">
                            <input name="plateNo" class="easyui-textbox" data-options="
                                label:'车牌号:',
                                width:150,
                                labelWidth:70,
                                editable:true,
                                labelAlign:'right'">
                        </div>
<!--                        <div class="pull-left input-group">-->
<!--                            <input  name="settlQty" class="easyui-textbox" data-options="-->
<!--                                label:'结算数量：',-->
<!--                                width:150,-->
<!--                                editable:true,-->
<!--                                labelAlign:'right'">-->
<!--                        </div>-->
                        <div class="pull-left input-group">
                            <input  name="shipFee" class="easyui-textbox" data-options="
                                label:'运费:',
                                width:150,
                                labelWidth:60,
                                editable:true,
                                labelAlign:'right'">
                        </div>
                        <div class="pull-left input-group">
                            <input  name="shipPay" class="easyui-combobox" data-options="
                                label:'付费方:',
                               labelAlign:'right',
                               textField:'name',
                               valueField:'name',
                               limitToList:true,
                               width:180,
                               labelWidth:70,
                               panelHeight:300,
                               required:false,
                               panelHeight: 'auto',
                               data:[{
                                    sId:1,
                                    name:'对方付'
                               },{
                                    sId:0,
                                    name:'本厂付'
                                }
                        ]">
                        </div>
                        <div class="pull-left input-group">
                            <input name="shipType" class="easyui-combobox"
                                   data-options="label:'付费方式:',
                               labelAlign:'right',
                               textField:'name',
                               valueField:'name',
                               limitToList:true,
                               width:150,
                               labelWidth:80,
                               panelHeight:300,
                               panelHeight: 'auto',
                               required:false,
                               data:[{
                                    sId:1,
                                    name:'现结'
                               },{
                                    sId:0,
                                    name:'欠账'
                                }
                        ]">
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>

</body>
<script type="text/javascript" src="js/pages/yw/yw_grey_main_Page.js?version=1.11"></script>
</html>